package com.naizhuai.network.apistore;

import com.naizhuai.network.Config;
import com.naizhuai.network.entity.ResultResponse;
import com.naizhuai.Model.db.user.PersonUserBean;

import java.util.List;

import retrofit2.http.GET;
import retrofit2.http.Query;
import rx.Observable;

/**
 * Created by code_han on 2018/1/25.
 * 公司架构管理类的网络接口调用
 */
public interface SearchUserRequest {

    //根据手机号码获取个人相关信息
    @GET(Config.SEARCH_USER_BY_PHONE)
    Observable<ResultResponse<List<PersonUserBean>>> getUserByPhone(@Query("companyId") String companyId,@Query("search") String searchName,@Query("phone") String phoneNumber);


}
